piyushgrover commited on
Commit
05ebee8
Β·
1 Parent(s): e4eaa34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- from utils import *
3
  import random
4
 
5
 
@@ -79,7 +79,7 @@ with gr.Blocks() as app:
79
  clear_btn.click(clear_data, None, [out1, out2, out3, out4, out5, search_text])
80
 
81
 
82
- def func_generate(query, concept_idx, seed):
83
  prompt = query + ' in the style of bulb'
84
  text_input = tokenizer(prompt, padding="max_length", max_length=tokenizer.model_max_length, truncation=True,
85
  return_tensors="pt")
@@ -165,7 +165,7 @@ with gr.Blocks() as app:
165
  search_text,
166
  out5
167
  )
168
-
169
 
170
  '''
171
  Launch the app
 
1
  import gradio as gr
2
+ #from utils import *
3
  import random
4
 
5
 
 
79
  clear_btn.click(clear_data, None, [out1, out2, out3, out4, out5, search_text])
80
 
81
 
82
+ '''def func_generate(query, concept_idx, seed):
83
  prompt = query + ' in the style of bulb'
84
  text_input = tokenizer(prompt, padding="max_length", max_length=tokenizer.model_max_length, truncation=True,
85
  return_tensors="pt")
 
165
  search_text,
166
  out5
167
  )
168
+ '''
169
 
170
  '''
171
  Launch the app