Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -190,6 +190,7 @@ def respond(message: str, chat_history: List[Dict[str, str]], max_tokens: int, t
|
|
190 |
except Exception as e:
|
191 |
return f"μλ΅ μμ± μ€ μ€λ₯ λ°μ: {str(e)}"
|
192 |
|
|
|
193 |
def create_ui():
|
194 |
try:
|
195 |
css = """
|
@@ -294,9 +295,6 @@ def create_ui():
|
|
294 |
elem_classes="full-height code-box"
|
295 |
)
|
296 |
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
with gr.TabItem("AI μ½λ©"):
|
301 |
chatbot = gr.Chatbot(label="λν")
|
302 |
msg = gr.Textbox(label="λ©μμ§")
|
@@ -349,7 +347,10 @@ def create_ui():
|
|
349 |
print(f"Error in create_ui: {str(e)}")
|
350 |
print(traceback.format_exc())
|
351 |
raise
|
352 |
-
|
|
|
|
|
|
|
353 |
if __name__ == "__main__":
|
354 |
try:
|
355 |
print("Starting HuggingFace Space Analyzer...")
|
@@ -373,4 +374,4 @@ if __name__ == "__main__":
|
|
373 |
print(f"Error in main: {str(e)}")
|
374 |
print("Detailed error information:")
|
375 |
print(traceback.format_exc())
|
376 |
-
raise
|
|
|
190 |
except Exception as e:
|
191 |
return f"μλ΅ μμ± μ€ μ€λ₯ λ°μ: {str(e)}"
|
192 |
|
193 |
+
|
194 |
def create_ui():
|
195 |
try:
|
196 |
css = """
|
|
|
295 |
elem_classes="full-height code-box"
|
296 |
)
|
297 |
|
|
|
|
|
|
|
298 |
with gr.TabItem("AI μ½λ©"):
|
299 |
chatbot = gr.Chatbot(label="λν")
|
300 |
msg = gr.Textbox(label="λ©μμ§")
|
|
|
347 |
print(f"Error in create_ui: {str(e)}")
|
348 |
print(traceback.format_exc())
|
349 |
raise
|
350 |
+
|
351 |
+
|
352 |
+
|
353 |
+
|
354 |
if __name__ == "__main__":
|
355 |
try:
|
356 |
print("Starting HuggingFace Space Analyzer...")
|
|
|
374 |
print(f"Error in main: {str(e)}")
|
375 |
print("Detailed error information:")
|
376 |
print(traceback.format_exc())
|
377 |
+
raise
|