Spaces:
Runtime error
Runtime error
shorter GPU usage time; removed banner
Browse files- app.py +3 -3
- sotopia_generate.py +0 -2
app.py
CHANGED
@@ -44,9 +44,9 @@ with gr.Blocks(
|
|
44 |
) as demo:
|
45 |
# with gr.Row():
|
46 |
# navigation_bar()
|
47 |
-
gr.Image(
|
48 |
-
|
49 |
-
|
50 |
gr.Markdown(HEADER_MD, elem_classes="markdown-text")
|
51 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
52 |
with gr.TabItem("💬 Chat", elem_id="chat-tab-interface", id=1):
|
|
|
44 |
) as demo:
|
45 |
# with gr.Row():
|
46 |
# navigation_bar()
|
47 |
+
# gr.Image(
|
48 |
+
# "images/banner.jpg", elem_id="banner-image", show_label=False
|
49 |
+
# )
|
50 |
gr.Markdown(HEADER_MD, elem_classes="markdown-text")
|
51 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
52 |
with gr.TabItem("💬 Chat", elem_id="chat-tab-interface", id=1):
|
sotopia_generate.py
CHANGED
@@ -250,8 +250,6 @@ def obtain_chain(
|
|
250 |
def _return_fixed_model_version(model_name: str) -> str:
|
251 |
model_version_map = {
|
252 |
"gpt-3.5-turbo": "gpt-3.5-turbo-0613",
|
253 |
-
"gpt-3.5-turbo-finetuned": "ft:gpt-3.5-turbo-0613:academicscmu::8nY2zgdt",
|
254 |
-
"gpt-3.5-turbo-ft-MF": "ft:gpt-3.5-turbo-0613:academicscmu::8nuER4bO",
|
255 |
"gpt-4": "gpt-4-0613",
|
256 |
"gpt-4-turbo": "gpt-4-1106-preview",
|
257 |
}
|
|
|
250 |
def _return_fixed_model_version(model_name: str) -> str:
|
251 |
model_version_map = {
|
252 |
"gpt-3.5-turbo": "gpt-3.5-turbo-0613",
|
|
|
|
|
253 |
"gpt-4": "gpt-4-0613",
|
254 |
"gpt-4-turbo": "gpt-4-1106-preview",
|
255 |
}
|