Spaces:
BAAI
/
Running on L40S

ryanzhangfan commited on
Commit
4f970fd
1 Parent(s): e419fb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -46,6 +46,7 @@ VQ_HUB = "BAAI/Emu3-VisionTokenizer"
46
 
47
 
48
  # uncomment to use gen model
 
49
  # Prepare models and processors
50
  # Emu3-Gen model and processor
51
  gen_model = AutoModelForCausalLM.from_pretrained(
@@ -215,8 +216,8 @@ def chat(history, user_input, user_image):
215
 
216
  return history, history, gr.update(value=None)
217
 
218
- # comment to here to disable chat
219
- """
220
 
221
  def clear_input():
222
  return gr.update(value="")
 
46
 
47
 
48
  # uncomment to use gen model
49
+ """
50
  # Prepare models and processors
51
  # Emu3-Gen model and processor
52
  gen_model = AutoModelForCausalLM.from_pretrained(
 
216
 
217
  return history, history, gr.update(value=None)
218
 
219
+ # uncomment to here to disable chat
220
+ # """
221
 
222
  def clear_input():
223
  return gr.update(value="")