Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import openai
|
|
3 |
import gradio as gr
|
4 |
|
5 |
openai.api_key = os.getenv('OPEN_AI_KEY')
|
|
|
6 |
|
7 |
def predict(message, history):
|
8 |
history_openai_format = []
|
@@ -25,7 +26,7 @@ def predict(message, history):
|
|
25 |
yield partial_message
|
26 |
|
27 |
A1 = gr.ChatInterface(predict,
|
28 |
-
title="
|
29 |
description="An AI Productivity Assistant with Chat, Vision, and Image Generation Capabilities, Built By Peach State Innovation and Technology. Select The Corresponding Tab For Tool Accessibility",
|
30 |
textbox=gr.Textbox(placeholder="Enter your question/prompt here..."),
|
31 |
theme= gr.themes.Glass(primary_hue="amber", neutral_hue="lime"),
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
openai.api_key = os.getenv('OPEN_AI_KEY')
|
6 |
+
hf_t_key = ('HF_TOKEN_KEY')
|
7 |
|
8 |
def predict(message, history):
|
9 |
history_openai_format = []
|
|
|
26 |
yield partial_message
|
27 |
|
28 |
A1 = gr.ChatInterface(predict,
|
29 |
+
title="COLLEAGUE",
|
30 |
description="An AI Productivity Assistant with Chat, Vision, and Image Generation Capabilities, Built By Peach State Innovation and Technology. Select The Corresponding Tab For Tool Accessibility",
|
31 |
textbox=gr.Textbox(placeholder="Enter your question/prompt here..."),
|
32 |
theme= gr.themes.Glass(primary_hue="amber", neutral_hue="lime"),
|