GithubHelp home page GithubHelp logo

chatcad's People

Contributors

absterzhu avatar jamesqfreeman avatar zhaozh10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

chatcad's Issues

你好,我在运行web.py的时候,链接打开的同时报错,这该怎么解决?(并且我已确认代理正常,gradio版本是3.31.0,api key正常)

(cad) zzz@zzz:~/yz/AllVscodes/ChatCAD-main$ python3 web.py
/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/revChatGPT/init.py:29: UserWarning: The current Python is not a recommended version, 3.10+ is recommended
import("warnings").warn(
Running on local URL: http://127.0.0.1:4900

To create a public link, set share=True in launch().
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/fastapi/applications.py", line 1106, in call
await super().call(scope, receive, send)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/starlette/middleware/cors.py", line 83, in call
await self.app(scope, receive, send)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
raise e
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
await self.app(scope, receive, send)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/starlette/routing.py", line 66, in app
response = await func(request)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/fastapi/routing.py", line 274, in app
raw_response = await run_endpoint_function(
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/fastapi/routing.py", line 193, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/gradio/routes.py", line 263, in api_info
return gradio.blocks.get_api_info(config, serialize) # type: ignore
File "/home/zzz/anaconda3/envs/cad/lib/python3.9/site-packages/gradio/blocks.py", line 504, in get_api_info
serializer = serializing.COMPONENT_MAPPINGtype
KeyError: 'dataset'

Inference using code

Hi, thanks for the amazing project, however I am not able to get the gradio web ui running (shows 初始化失败,请输入正确的openai key。I have tried your testing code and it works well with my api key) Do you have a code sample for running inference without using the web ui? Thanks a lot

training script

thanks for your excellent work. Can you provide a training script for the generator?

Report refinement

Hello, @zhaozh10

First of all, thank you for sharing your great work!

I recently read your ChatCAD+ paper and have a question about a specific part, so I am creating an issue here.

I am particularly curious about the report refinement method. The paper mentions "LLM to refine its preliminary report with retrieve k reports, and generate the enhanced report." Does this mean you provided the LLM with the top k reports and used a prompt to create an enhanced report? Could you please share the instructions or process you used for this?

code

Your work is impressive and has greatly inspired my research. How can I fine-tune your code using my own dataset, or how can I reproduce your paper from scratch?

输入api后

api输入后,
image
等待很久后没结果
上传图像也再显示
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.