Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ hfapi_token=os.getenv('hf_api_token')
|
|
6 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta", token=hfapi_token)
|
7 |
|
8 |
def explain_and_run_code(code_snippet):
|
9 |
-
system_message = "You are an expert assistant that explains Python code snippets clearly and concisely."
|
10 |
explanation = ""
|
11 |
output = ""
|
12 |
|
|
|
6 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta", token=hfapi_token)
|
7 |
|
8 |
def explain_and_run_code(code_snippet):
|
9 |
+
system_message = "You are an expert assistant that explains Python code snippets clearly,shortly and concisely with the output."
|
10 |
explanation = ""
|
11 |
output = ""
|
12 |
|