Spaces:
Build error
Build error
Commit ·
c956efe
1
Parent(s): 83a8e6b
Upload folder using huggingface_hub
Browse files
test3.py
CHANGED
|
@@ -43,7 +43,7 @@ def chat(message, history):
|
|
| 43 |
ai_response += f"And don't forget, {message[-1]}!"
|
| 44 |
|
| 45 |
return ai_response
|
| 46 |
-
|
| 47 |
# Launch the Gradio chat interface
|
| 48 |
# Customize the Gradio chat interface appearance using CSS
|
| 49 |
css = """
|
|
@@ -57,5 +57,5 @@ button {
|
|
| 57 |
color: black;
|
| 58 |
}
|
| 59 |
"""
|
| 60 |
-
iface.
|
| 61 |
iface.launch()
|
|
|
|
| 43 |
ai_response += f"And don't forget, {message[-1]}!"
|
| 44 |
|
| 45 |
return ai_response
|
| 46 |
+
|
| 47 |
# Launch the Gradio chat interface
|
| 48 |
# Customize the Gradio chat interface appearance using CSS
|
| 49 |
css = """
|
|
|
|
| 57 |
color: black;
|
| 58 |
}
|
| 59 |
"""
|
| 60 |
+
iface = gr.ChatInterface(fn=chat, title="ChatABT. A real mean ai. i dont have the money to run this 24/7 lol.", css=css)
|
| 61 |
iface.launch()
|