Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,3 @@
|
|
| 1 |
-
import gradio as gr
|
| 2 |
-
from huggingface_hub import InferenceClient
|
| 3 |
import sys
|
| 4 |
import os
|
| 5 |
import re
|
|
@@ -250,6 +248,7 @@ def process_message(messages):
|
|
| 250 |
return html_output
|
| 251 |
|
| 252 |
def o3_chat(api_key, base_url, question, image):
|
|
|
|
| 253 |
# 初始化组件
|
| 254 |
client = OpenAI(api_key=api_key, base_url=base_url)
|
| 255 |
executor = PythonExecutor()
|
|
|
|
|
|
|
|
|
|
| 1 |
import sys
|
| 2 |
import os
|
| 3 |
import re
|
|
|
|
| 248 |
return html_output
|
| 249 |
|
| 250 |
def o3_chat(api_key, base_url, question, image):
|
| 251 |
+
print("done!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
|
| 252 |
# 初始化组件
|
| 253 |
client = OpenAI(api_key=api_key, base_url=base_url)
|
| 254 |
executor = PythonExecutor()
|