Spaces:
Sleeping
Sleeping
File size: 1,019 Bytes
e1da269 7a36b3c e1da269 7a36b3c e1da269 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
"""
Hugging Face Space - Text Adventure Agent Submission
This is a code-only Space for submitting your agent implementation.
The evaluation is run separately.
Files in this submission:
- agent.py: Your ReAct agent implementation
- mcp_server.py: Your MCP server implementation
- requirements.txt: Additional dependencies
To test locally:
fastmcp dev mcp_server.py
python agent.py
"""
import gradio as gr
from pathlib import Path
# Create the Gradio interface
with gr.Blocks(title="Text Adventure Agent Submission") as demo:
gr.Markdown("# Text Adventure Agent Submission")
gr.Markdown(
"This Space contains a template submission for the Text Adventure Agent assignment. "
)
gr.Markdown(
"---\n"
"**Note:** This is a code submission Space. "
"Evaluation is performed using the evaluation script.\n\n"
"[Back to main assignment page](https://huggingface.co/spaces/LLM-course/Agentic-zork)"
)
if __name__ == "__main__":
demo.launch()
|