Deva1211 commited on
Commit
3afd9f6
·
1 Parent(s): 12a2568

Fixing api errors 2

Browse files
Files changed (2) hide show
  1. app.py +1 -10
  2. requirements.txt +3 -3
app.py CHANGED
@@ -76,16 +76,7 @@ demo = gr.ChatInterface(
76
  "Tell me a joke",
77
  "What do you think about artificial intelligence?"
78
  ],
79
- cache_examples=False,
80
- retry_btn="🔄 Retry",
81
- undo_btn="↶ Undo",
82
- clear_btn="🗑️ Clear",
83
- submit_btn="Send",
84
- textbox=gr.Textbox(
85
- placeholder="Type your message here...",
86
- container=False,
87
- scale=7
88
- )
89
  )
90
 
91
  # Launch the app
 
76
  "Tell me a joke",
77
  "What do you think about artificial intelligence?"
78
  ],
79
+ cache_examples=False
 
 
 
 
 
 
 
 
 
80
  )
81
 
82
  # Launch the app
requirements.txt CHANGED
@@ -1,3 +1,3 @@
1
- torch>=1.9.0
2
- transformers>=4.21.0
3
- gradio>=4.0.0
 
1
+ torch
2
+ transformers
3
+ gradio