clarissah commited on
Commit
6a6b446
·
verified ·
1 Parent(s): b5e9f3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -13
app.py CHANGED
@@ -1,14 +1,4 @@
1
  import gradio as gr
2
-
3
- theme = gr.themes.Soft(
4
- primary_hue="pink",
5
- secondary_hue="pink",
6
- neutral_hue="fuchsia",
7
- ).set(
8
- link_text_color='*secondary_700',
9
- background_fill_primary = 'primary_600'
10
- )
11
-
12
  import random
13
  from huggingface_hub import InferenceClient
14
 
@@ -42,8 +32,6 @@ def respond(message, history):
42
 
43
  #return response ['choices'][0]['message']['content'].strip()
44
 
45
- with gr.Blocks (theme = theme) as chatbot:
46
- chatbot = gr.ChatInterface(respond, type = "messages")
47
- #chatbot = gr.ChatInterface(respond, type = "messages") #theme = "shivi/calm_seafoam")
48
 
49
  chatbot.launch(debug=True)
 
1
  import gradio as gr
 
 
 
 
 
 
 
 
 
 
2
  import random
3
  from huggingface_hub import InferenceClient
4
 
 
32
 
33
  #return response ['choices'][0]['message']['content'].strip()
34
 
35
+ chatbot = gr.ChatInterface(respond, type = "messages") #theme = "shivi/calm_seafoam")
 
 
36
 
37
  chatbot.launch(debug=True)